﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;

namespace NewHPDNWcfService
{
    [DataContract]
    public class User
    {
        [DataMember]
        public int Id { get; set; }

        [DataMember]
        public string UserName { get; set; }

        [DataMember]
        public int Role { get; set; }

        public User()
        {
            this.Id = 1;
            this.UserName = "Username";
            this.Role = 1;
        }
        public User(int id)
        {
            this.Id = id;
        }
    }
}